package club.justwill.single.persistence.document;

import org.springframework.data.mongodb.core.mapping.Field;

import java.util.Date;

/**
 * Created by xiangnan on 16-1-14.
 */
public class Comments {
    @Field("comments")
    private String comments;

    @Field("userName")
    private String userName;

    @Field("userHeadIcon")
    private String userHeadIcon;

    @Field("time")
    private Date time;

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserHeadIcon() {
        return userHeadIcon;
    }

    public void setUserHeadIcon(String userHeadIcon) {
        this.userHeadIcon = userHeadIcon;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}
